package com.cssw.fyzb.core.dao.tesk;

import com.cssw.fyzb.core.model.dodb.TaskExec;
import com.ydn.dbframe.plugin.activerecord.Page;

import java.util.List;

public interface TaskExecDao {

    Long save(TaskExec taskExec);

    List<TaskExec> list(Long userId, String status);

    Page<TaskExec> listTaskExec(Long userId, String status, int pageNumber, int pageSize);

    TaskExec getByCond(Long userId, String dayTime,Long instId);

    //获取当前时间的 执行日志
    TaskExec getTaskExec(Long userId, Long instId);

    void updateStatus(Long userId,Long execId ,String status);
}
